package com.han.singleton.demo6;

/**
 * @ClassName Client
 * @Description 测试类
 * @Author duoduo Han
 * @Date 2024/6/3 15:35
 */
public class Client {
    public static void main(String[] args) {
        Singleton instance = Singleton.INSTANCE;
        Singleton instance1 = Singleton.INSTANCE;
        System.out.println(instance == instance1);
    }
}
